//
//  Port.h
//  SpendMoney
//
//  Created by  lixinxin on 16/12/23.
//  Copyright © 2016年  lixinxin. All rights reserved.
//

#ifndef Port_h
#define Port_h

static NSString *const ALReleaseHostAddress = @"https://api.runnongjinfu.com.cn:10011/";
static NSString *const ALHostAddress = @"http://47.94.220.177:10011/";
static NSString *const ALPersonalTestHostAddress = @"http://192.168.199.114:20018/";

#pragma mark - Activity
static NSString *const ALGetMessageInfoAddress = @"loanmarket/message/getMessageInfo";

#pragma mark - event
//
/** productNo=1&accessUrl=1 */
static NSString *const ALSaveInfoAddress = @"loanmarket/access/saveInfo";

#pragma mark - Log
/** 登录
    mobile
    password
 */
static NSString *const ALLoginAddress = @"loanmarket/user/login";

/** flag(string  标记0-注册验证码,1-忘记密码)
 */
static NSString *const ALGetUserVificationCode_flag_register_type = @"0";
static NSString *const ALGetUserVificationCode_flag_forget_type   = @"1";
/** 注册、忘记密码 获取验证码
    mobile
    flag(string  标记0-注册验证码,1-忘记密码)
 */
static NSString *const ALGetUserVificationCodeAddress = @"loanmarket/user/getUserVificationCode";

/** 忘记密码
    mobile
    password
    code
 */
static NSString *const ALForgetPassWordAddress = @"loanmarket/user/forgetPassWord";

/** 重置密码
    mobile=1&
    password=1&
    newPassword=1
 */
static NSString *const ALResetPassWordAddress = @"loanmarket/user/resetPassWord";

/** 注册 @{mobile=1&password=1&code=1} */
static NSString *const ALRegisterAddress = @"loanmarket/user/register";

#pragma mark - HOME

static NSString *const ALGetAdvcolumnInfo_homeAdvColumnType = @"1";
static NSString *const ALGetAdvcolumnInfo_HandleCardAdvColumnType = @"2";
//{ "currPage": 1,"rows": 0,"advColumnType":1/2} advColumnType：1.首页 2.办卡
static NSString *const ALGetAdvcolumnInfoAddress = @"loanmarket/adv/getAdvcolumnInfo";
static NSString *const ALGetCreditCardInfoAddress = @"loanmarket/adv/getCreditCardInfo";

/** 首页获取数据 {@"currPage":@"1",@"rows":@"0",@"productType":@"1"} */
static NSString *const ALGetProductInfoAddress = @"loanmarket/product/getProductInfo";

#endif /* Port_h */

